<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script>
      // ES6
      class Star {}
      console.log(typeof Star)
      // a1
      console.log('a1', Star)
      // a2
      console.log('x1 Star.prototype', Star.prototype)
      let ldh = new Star()
      // console.dir(ldh)
      // a3
      // console.log(ldh.__proto__ === Star.prototype)
      // a4
      console.log('x2 ldh.__proto__', ldh.__proto__)
      console.log('x3 ldh.prototype', ldh.prototype)
    </script>
  </body>
</html>
